Add default replacement for select-window-[N]
authorjustbur <justin@burkett.cc>
Sat, 11 Jul 2015 17:38:56 +0000 (13:38 -0400)
committerjustbur <justin@burkett.cc>
Sat, 11 Jul 2015 17:38:56 +0000 (13:38 -0400)
which-key.el

index 20594797c8adad8312d61da3654071ce86cbe53e..5be226f62e3dd8d22ef19e698a800869a011745c 100644 (file)
@@ -55,7 +55,8 @@ in the first example."
   :group 'which-key
   :type '(alist :key-type regexp :value-type string))
 (defcustom which-key-description-replacement-alist
-  '(("Prefix Command" . "prefix") (".+/\\(.+\\)" . "\\1"))
+  '(("Prefix Command" . "prefix") (".+/\\(.+\\)" . "\\1")
+    ("select-window-\\([1-9]\\)" . "Window \\1"))
   "See `which-key-key-replacement-alist'. This is a list of lists
 for replacing descriptions. The second one removes \"namespace/\"
 from \"namespace/function\". This is a convention for naming